<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path;
request.setAttribute("basePath", basePath);
%>
<!DOCTYPE html>
<html>

<head>
	<meta charset="UTF-8">
	<title>添加公司部门</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
	<script src="${basePath}/statics/js/jquery.min.js"></script>
	<script type="text/javascript" src="${basePath}/statics/lib/layui/layui.js" charset="utf-8"></script>
	<script type="text/javascript" src="${basePath}/statics/js/xadmin.js"></script>

	<style>
		*{
			margin: 0;
		}
		table {
			border-collapse: collapse;
			border:0;
		}
		td{
			width: 70px;
			height: 30px;
			border:0;
		}
		.c1{
			width: 150px;
			padding: 5px;
			float: left;
			margin-top: 1px;
		}
		input{
			float: left;
			width: 450px;
			height: 34px;
			padding: 0;
		}
		.select{
			width: 454px;
			height: 37px;
		}
		button{
			width: 70px;
			height: 40px;
			background-color: cornflowerblue;
			border: 0;
		}
	</style>

</head>




<body>
<div align="center">
	<br /><br />
	<h1>添加公司部门</h1>
	<br /><br />
	<form action="${basePath}/company/editor/adddept.action" method="post">
		<input type="hidden" name="deptId">
		<table border="1px" width="600px">
			<tr style="text-align: center;">
				<td bgcolor="#D0E1FB" class="c1">公司名称</td>
				<td><input type="text" name="userTel" value="${userAndCompanyVO.companyName}" autocomplete="off"></td>
			</tr>
			<!--分配部门-->

			<tr style="text-align: center;">
				<td bgcolor="#D0E1FB" class="c1">部门名称</td>
				<td><input type="text" name="userTel" autocomplete="off" placeholder="请输入部门名称"></td>
			</tr>
		</table>
		<br /><br /><br />
		<div>
			<div>
				<div>
					<a href="">添加</a>
					<button type="reset">重置</button>
				</div>
			</div>
		</div>
	</form>
</div>
</body>

</html>